package com.prinxchengshan.reportbase.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.prinxchengshan.reportbase.pojo.CreditExceeding;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface CreditExceedingMapper extends BaseMapper<CreditExceeding> {

    @Select("EXEC SendEmailByCreditInput")
    @Results({
            @Result(column = "new_name", property = "newName"),
            @Result(column = "new_available", property = "newAvailable")
    }) // 指定返回结果的类型
    List< CreditExceeding> callProcedure();

}
